<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		 我是A页面<br />
		 <button type="button" onclick="reloadNowPage()">刷新页面</button>
		 <button type="button" onclick="goB()">跳转到B</button>
		 
	</body>
	<script type="text/javascript">
		function reloadNowPage(){
			location.reload();
		}
		function goB(){
			location.href='B.html';
		}
	</script>
</html>
